#!/usr/bin/env python3
# coding: utf-8
"""
2024-02-16 harrydeep@wardyan.top 

"""
from loguru import logger


## logger.add("debug.log")
#logger.remove()
logger.add("logs\\debug.{time:YYYY-MM-DD}.log", level="DEBUG", rotation="100 mb", compression="zip", retention=100, catch=False,enqueue=True, encoding="utf-8")
logger.add("logs\\info.{time:YYYY-MM-DD}.log", level="INFO", rotation="100 mb", compression="zip", retention=100, catch=False,enqueue=True, encoding="utf-8")
logger.add("logs\\warn.{time:YYYY-MM-DD}.log", level="WARNING", rotation="100 mb", compression="zip", retention=100, catch=False,enqueue=True, encoding="utf-8")
logger.add("logs\\error.{time:YYYY-MM-DD}.log", level="ERROR", rotation="100 mb", compression="zip", retention=100, catch=True,enqueue=True, encoding="utf-8")